package eu.jba.denshijisho.entity;

import java.io.Serializable;

import eu.jba.denshijisho.util.WithId;

public class Configuration implements WithId, Serializable{

	private static final long serialVersionUID = 5108160350352539894L;

	private Integer id;
	private String variableName;
	private Integer integerValue;
	private String stringValue;
	
	public Configuration(String variableName, String stringValue) {
		super();
		this.variableName = variableName;
		this.stringValue = stringValue;
	}

	public Configuration(String variableName, Integer integerValue) {
		super();
		this.variableName = variableName;
		this.integerValue = integerValue;
	}

	public Configuration(Integer id, String variableName, Integer integerValue,
			String stringValue) {
		super();
		this.id = id;
		this.variableName = variableName;
		this.integerValue = integerValue;
		this.stringValue = stringValue;
	}
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getVariableName() {
		return variableName;
	}
	public void setVariableName(String variableName) {
		this.variableName = variableName;
	}
	public Integer getIntegerValue() {
		return integerValue;
	}
	public void setIntegerValue(Integer integerValue) {
		this.integerValue = integerValue;
	}
	public String getStringValue() {
		return stringValue;
	}
	public void setStringValue(String stringValue) {
		this.stringValue = stringValue;
	}	
}
